import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import qs from "qs";
import dayjs from 'dayjs';

axios.defaults.withCredentials = true;
Vue.config.productionTip = false;
Vue.use(ElementUI);
Vue.prototype.axios = axios;
Vue.prototype.qs = qs;
Vue.prototype.dayjs = dayjs;

axios.defaults.baseURL = 'http://139.155.130.144:9237';

Vue.prototype.$http = axios //可以通过$http来发起请求


new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#app')